.w {
  width: 1200px;
  margin: 0 auto;
}
body {
  background: url("../images/bodyBg.jpg") center 42px no-repeat;
}
header {
  height: 42px;
  line-height: 42px;
}
.game_logo {
  float: left;
}
.game_logo img {
  height: 42px;
}
.header_right {
  float: right;
}
.header_right a {
  float: left;
  padding: 0 10px;
}
.header_right a:hover {
  color: #ff4e00;
}
.platform .icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("../images/title_sprite.png") -35px -5px no-repeat;
  vertical-align: middle;
  margin-top: -5px;
}
.header_nav {
  height: 84px;
  background-color: rgba(0, 0, 0, 0.8);
}
.header_nav .w {
  width: 1300px;
}
.header_nav .logo {
  float: left;
}
.header_nav .logo a {
  display: block;
  height: 84px;
}
.header_nav .logo img {
  margin-top: 15px;
}
.header_nav ul {
  float: left;
  margin-left: 20px;
}
.header_nav li {
  float: left;
  width: 115px;
  height: 84px;
  text-align: center;
}
.header_nav li a {
  display: block;
  height: 84px;
  color: #c9c9dd;
  font-size: 18px;
  padding-top: 20px;
}
.header_nav li:hover a {
  background: url("../images/main_sprite.png");
  color: #f3c258;
}
.header_nav li:hover span {
  color: #f3c258;
}
.header_nav li a span {
  font-size: 12px;
  color: #858792;
}
.header_nav .search {
  float: left;
  margin-top: 24px;
  font-size: 26px;
  color: #d6d6ea;
  margin-left: 10px;
}
.header_nav .login {
  float: right;
}
.header_nav .login i {
  float: left;
  width: 58px;
  height: 58px;
  background: url("../images/main_sprite.png") -183px 0 no-repeat;
  margin-top: 15px;
}
.header_nav .login_right {
  float: left;
  margin-left: 10px;
}

.header_nav .login_right p:first-child {
  font-size: 16px;
  color: #fff;
  margin-top: 20px;
}
.header_nav .login_right p:last-child {
  font-size: 16px;
  color: #858792;
}

.banner {
  height: 342px;
  margin-top: 460px;
}
.banner_left {
  float: left;
  width: 605px;
  height: 342px;
  background-color: #000;
}
.banner_news {
  float: left;
}
.banner_aside {
  float: left;
}
.banner_left li {
  float: left;
  width: 121px;
}
.banner_left li a {
  display: block;
  height: 44px;
  line-height: 44px;
  color: #b1b2be;
  text-align: center;
}
.banner_left li a:hover {
  background-color: #262626;
  color: #f3c258;
}

.banner_news {
  float: left;
  width: 359px;
  height: 342px;
  overflow: hidden;
  padding: 0 17px;
  background-color: rgba(0, 0, 0, 0.795);
}
.banner_news .title {
  height: 50px;
  line-height: 48px;
  border-bottom: 2px solid #000;
}
.banner_news .title li {
  float: left;
  width: 50px;
  text-align: center;
}
.banner_news .title li a {
  display: block;
  color: #b8b9c5;
}
.banner_news .title li a:hover,
.banner_news .title li .active {
  color: #f3c258;
  border-bottom: 2px solid #f3c258;
}

.banner_news h3 {
  height: 36px;
  line-height: 36px;
  padding: 0 50px 0 15px;
  margin-top: 18px;
  margin-bottom: 10px;
  background: #414046;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  color: #f3c258;
  font-size: 18px;
  font-weight: 400;
}
.banner_news .content a {
  display: block;
  height: 32px;
  line-height: 32px;
  color: #b8b9c5;
  font-size: 14px;
}
.banner_news .content i,
.banner_news .content em {
  float: left;
}
.banner_news .content i {
  width: 32px;
  line-height: 16px;
  border: 1px solid currentColor;
  color: #1e96ab;
  margin-top: 7px;
  margin-right: 5px;
  font-size: 12px;
  text-align: center;
  border-radius: 2px;
}
.banner_news .content em {
  color: #999;
  font-size: 12px;
}
.banner_news .content p {
  float: left;
  width: 230px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.banner_aside a {
  display: block;
  background: url("../images/main_sprite.png");
}
.banner_aside .download {
  width: 236px;
  height: 128px;
  background-position: 0 -219px;
}
.banner_aside .env {
  width: 236px;
  height: 106px;
  background-position: 0 -350px;
}
.banner_aside .test {
  width: 236px;
  height: 108px;
  background-position: 0 -461px;
}
.quick_entrance {
  height: 134px;
  margin: 28px auto 16px;
}
.quick_entrance a {
  float: left;
  width: 291px;
  height: 134px;
  margin-right: 12px;
  overflow: hidden;
}
.quick_entrance a img {
  width: 100%;
  height: 100%;
  transition: 0.8s;
}
.quick_entrance a:hover img {
  transform: scale(1.06);
}
.quick_entrance .last {
  margin-right: 0;
}
.article_left {
  float: left;
  width: 872px;
  margin-right: 33px;
}
.item_hd {
  position: relative;
  height: 62px;
  line-height: 62px;
}
.item_hd .puzzle {
  float: left;
  width: 25px;
  height: 25px;
  background: url("../images/main_sprite.png") 0 -106px;
  margin-top: 18px;
  margin-right: 10px;
}
.item_hd h3 {
  float: left;
  font-size: 22px;
}
.item_hd .more {
  float: right;
  color: #999;
}
.item_hd .more:hover {
  color: #f3c258;
}
.item_hd .more i {
  float: left;
  width: 16px;
  height: 16px;
  background: url("../images/main_sprite.png") -251px 0;
  margin-top: 23px;
  margin-right: 6px;
}
.sub_nav {
  height: 32px;
  line-height: 29px;
  background: #f5f5f5;
  margin-bottom: 12px;
}
.sub_nav a {
  position: relative;
  float: left;
  width: 33.33%;
  font-size: 14px;
  color: #999;
  text-align: center;
}
.sub_nav a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -9px;
  width: 0;
  height: 18px;
  border-left: 1px solid #ccc;
}
.sub_nav a:last-child::after {
  border-left: 0;
}
.battle_center .sub_nav a {
  width: auto;
  padding: 0 27px;
}
.sub_nav a:hover,
.sub_nav a:first-child {
  color: #000;
  border-bottom: 2px solid #f3c258;
}
.third_nav {
  margin-bottom: 8px;
}
.third_nav li {
  float: left;
  margin-right: 10px;
}

.third_nav a {
  /* 设置高度增大相应区域 */
  display: block;
  color: #333;
  text-decoration: none;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  height: 26px;
  line-height: 24px;
  padding: 0 13px;
  border-radius: 13px;
}

.third_nav a:hover {
  background-color: #f3c258;
  color: #fff;
}

.video_list li {
  position: relative;
  float: left;
  width: 209px;
  margin: 0 12px 30px 0;
}
.video_list li:nth-child(4n) {
  margin-right: 0;
}
.video_list .pic {
  position: relative;
}
.video_list .pic img {
  width: 100%;
}
.video_list .info {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 22px;
  line-height: 22px;
  padding: 0 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  font-size: 12px;
  border-radius: 0 0 2px 2px;
}
.video_list .play_num {
  float: left;
}
.video_list .play_num i {
  float: left;
  width: 14px;
  height: 14px;
  background: url("../images/main_sprite.png") -255px -63px;
  margin-top: 3px;
  margin-right: 3px;
}
.video_list .date {
  float: right;
}
.video_list .video_title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  height: 40px;
  color: #333333;
  margin-top: 10px;
}

.video_list li .pic::after {
  content: "";
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9;
  width: 100%;
  height: 100%;
  background: #000a url("../images/arr.png") no-repeat center;
  transition: 0.6s;
}
.video_list li:hover .pic::after {
  opacity: 1;
}
.game_news {
  margin-bottom: 15px;
}
.game_news .news_pic {
  float: left;
  width: 211px;
  height: 260px;
  margin-right: 19px;
}

.game_news a:hover {
  text-decoration: underline;
}
.game_news .news_list {
  float: left;
  width: 630px;
}

.game_news h3 a {
  display: block;
  width: 577px;
  font-size: 24px;
  color: #333;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-weight: 400;
  line-height: 40px;
}
.game_news h4 a {
  display: block;
  line-height: 24px;
  font-size: 14px;
  color: #666666;
  width: 450px;
  font-weight: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.news_list ul {
  margin-top: 10px;
}
.news_list li a {
  display: block;
  height: 32px;
  line-height: 32px;
}
.news_list li i {
  float: left;
  width: 48px;
  height: 20px;
  line-height: 20px;
  margin-right: 12px;
  background: #e3e3e3;
  border-radius: 10px;
  text-align: center;
  color: #999999;
  font-size: 12px;
  margin-top: 6px;
}

.news_list li em {
  float: right;
  font-size: 12px;
  color: #b8b9c5;
}
.article_right {
  float: right;
  width: 295px;
  height: 528px;
}
.new_hero {
  display: block;
  border: 1px solid #ccc;
  margin-bottom: 15px;
}
.new_hero h4 {
  padding: 10px 15px 0;
  font-size: 18px;
  color: #333333;
}
.new_hero p {
  padding: 0 15px 10px;
  color: #999999;
  font-size: 12px;
}

.hero_list li {
  position: relative;
  float: left;
  width: 68px;
  height: 173px;
  margin: 0 7px 12px 0;
}
.hero_list li:last-child {
  margin-right: 0;
}
.hero_list li:hover .mask {
  opacity: 1;
}
.hero_list .mask {
  cursor: pointer;
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #000a;
  color: #f2c147;
  transition: 0.6s;
}
.hero_list .mask span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  line-height: 1.2;
}
.kpl .ticket {
  position: absolute;
  right: 60px;
  top: 50%;
  margin-top: -11px;
  width: 70px;
  height: 22px;
  line-height: 20px;
  border: 1px solid #f3c258;
  border-radius: 3px;
}
.kpl .ticket i {
  float: left;
  margin: 2px 4px 0;
  width: 22px;
  height: 16px;
  background: url("../images/main_sprite.png") -250px -87px;
}
.kpl table {
  margin-bottom: 20px;
  border-collapse: collapse;
}
.kpl tr:first-child {
  background-color: #f5f5f5;
  color: #999;
  font-size: 14px;
  border-bottom: 0;
}
.kpl tr:first-child td {
  padding: 6px 0;
}
.kpl tr td {
  width: 83px;
  font-size: 12px;
  padding: 10px 0;
}
.kpl tr td:nth-child(3) {
  width: 43px;
}
.kpl tr {
  text-align: center;
  border-bottom: 1px solid #eee;
}
.kpl td img {
  display: block;
  width: 25px;
  height: 25px;
  margin: 0 auto;
}

footer {
  height: 362px;
  background: url("../images/bg_footer.jpg") no-repeat center;
  margin-top: 50px;
}
footer .logo {
  border-bottom: 1px solid #ccc;
  padding-bottom: 14px;
}
.tencent_game {
  float: left;
  width: 265px;
  height: 62px;
  background: url("../images/footer_sprite.png");
  margin-right: 20px;
}
.timi {
  float: left;
  width: 62px;
  height: 62px;
  background: url("../images/footer_sprite.png") -293px -1px;
}
.links {
  padding-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: #666;
}
.links_left {
  float: left;
  width: 530px;
}
.links_left p {
  margin-bottom: 10px;
}

.links_left p em {
  margin-right: 12px;
}
.links_right {
  float: right;
  width: 630px;
}
.links_right p:first-child {
  margin-bottom: 10px;
}
.links_right p:last-child {
  margin-top: 20px;
}
.r_nav {
  position: fixed;
  z-index: 10;
  top: 20%;
  right: 0;
  width: 254px;
  height: 494px;
  background: url("../images/r_navBg.png") no-repeat top left;
}
.r_dj {
  position: relative;
  width: 165px;
  height: 145px;
  background: url("../images/r_dj.png");
  margin: 0 auto;
}
.r_dj span {
  position: absolute;
  top: 37px;
  left: 12px;
  width: 88px;
  height: 36px;
  font-size: 14px;
  text-indent: 2px;
  font-weight: bold;
  line-height: 18px;
  color: #62401b;
  overflow: hidden;
}
.r_nav .code {
  width: 117px;
  height: 113px;
  border: 4px solid #e0a64a;
  margin-left: 100px;
}
.r_nav .code img {
  width: 100%;
  height: 100%;
}
.r_nav ul {
  margin-left: 100px;
}
.r_nav li a {
  display: block;
  width: 119px;
  height: 40px;
  background: url("../images/r_all.png");
}
.r_nav li:first-child a {
  background-position: -121px -119px;
}
.r_nav li:nth-child(2) a {
  background-position: -121px -160px;
}
.r_nav li:nth-child(3) a {
  background-position: -121px 0;
}
.r_nav li:first-child a:hover {
  background-position: -121px -239px;
}
.r_nav li:nth-child(2) a:hover {
  background-position: -121px -200px;
}
.r_nav li:nth-child(3) a:hover {
  background-position: -121px -41px;
}
